package com.wlcj.www.model.platform;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;
import com.wlcj.util.SqlUtil;

public class PlatformEval extends Model<PlatformEval>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7977948146117131459L;

	public static final PlatformEval dao = new PlatformEval();

	public PlatformEval getAvgPlatEval(int id){
		return findFirst(SqlUtil.sql("platformEval.getAvgPlatEval"),id);
	}
	
	public List<PlatformEval> getEvalList(int id){
		return find(SqlUtil.sql("platformEval.getEvalList"),id);
	}
}
